package xiaolong.lian.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xiaolong.lian.entity.User;

@Repository
public interface UserDao {

    User getUserByTel(@Param("tel") String tel);

    int addUser(@Param("tel") String tel, @Param("password") String password);

    int updatePassword(@Param("tel") String tel, @Param("password") String password);
}
